You can also move up and down.
Moving an object is easy. Just select an object and drag the mouse. The
object follows your mouse movement.
To return to the navigation mode, click "Navi" in the VS Authoring System
Window.
Let's make sure that the script has been attached.
You might find that this side of the world is very dark. Let's add a light here.
Now, let's see how it worked:
When you drop a new object from the Shape Library, the Node List Window is
automatically updated. Double-click the last Separator of the list to open
its node.
You can see the Point Light in this Separator.
The function, vs_H_Event_Pick_RedBlue() is called up. Since you want to
change the color here, you use the function, vsSet ObjMaterial().
For example, to change the color from "Red -> Blue" to "Green -> Blue", do
the following:
Replace
vsSetObjMaterial $obj $vsDiffuse 1.0 0.0 0.0;#turn to red
withvsSetObjMaterial $obj $vsDiffuse 0.0 1.0 0.0;#turn to green
Now, let's see how it works.